home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / global / globalBindings.xml < prev    next >
Extensible Markup Language  |  2009-12-12  |  3KB  |  91 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE bindings [
  4. <!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd" >
  5. %tabBrowserDTD;
  6. <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  7. %globalDTD;
  8. ]>
  9.  
  10. <bindings id="globalBindings"
  11.    xmlns="http://www.mozilla.org/xbl"
  12.    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.    xmlns:xbl="http://www.mozilla.org/xbl">
  14.  
  15.   <binding id="radio"
  16.            extends="chrome://global/content/bindings/radio.xml#radio">
  17.     <content>
  18.       <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
  19.         <xul:hbox class="radio-check-box2" flex="1">
  20.           <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
  21.         </xul:hbox>
  22.       </xul:hbox>
  23.       <xul:hbox class="radio-label-box" xbl:inherits="flex">
  24.         <xul:image class="radio-icon" xbl:inherits="src"/>
  25.         <xul:label class="radio-label" xbl:inherits="xbl:text=label,flex,accesskey,crop"/>
  26.       </xul:hbox>
  27.     </content>
  28.   </binding>
  29.  
  30.   <binding id="radio-with-spacing"
  31.            extends="chrome://global/skin/globalBindings.xml#radio">
  32.  
  33.     <content>
  34.       <xul:hbox class="radio-spacer-box">
  35.         <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
  36.           <xul:hbox class="radio-check-box2" flex="1">
  37.             <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
  38.           </xul:hbox>
  39.         </xul:hbox>
  40.       </xul:hbox>
  41.       <xul:hbox class="radio-label-center-box" flex="1">
  42.         <xul:hbox class="radio-label-box" flex="1">
  43.           <xul:image class="radio-icon" xbl:inherits="src"/>
  44.           <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/>
  45.         </xul:hbox>
  46.       </xul:hbox>
  47.     </content>
  48.   </binding>
  49.  
  50.   <binding id="toolbarpaletteitem-spacer" extends="chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem">
  51.     <content>
  52.       <xul:spacer class="spacer-left"/>
  53.       <children/>
  54.       <xul:spacer class="spacer-right"/>
  55.     </content>
  56.   </binding>
  57.  
  58.   <binding id="tabbrowser-tab" extends="chrome://global/content/bindings/tabbrowser.xml#tabbrowser-tab">
  59.     <content chromedir="&locale.dir;"
  60.              closetabtext="&closeTab.label;">
  61.       <xul:hbox class="tab-image-left" xbl:inherits="selected"/>
  62.       <xul:hbox flex="1" class="tab-image-middle" align="center" xbl:inherits="selected">
  63.         <xul:stack class="tab-icon">
  64.           <xul:image xbl:inherits="validate,src=image" class="tab-icon-image"/>
  65.           <xul:image class="tab-extra-status"/>
  66.         </xul:stack>
  67.         <xul:label flex="1" xbl:inherits="value=label,crop,accesskey" crop="right" class="tab-text"/>
  68.       </xul:hbox>
  69.       <xul:toolbarbutton anonid="close-button" class="tab-close-button" tabindex="-1"/>
  70.         <xul:hbox class="tab-image-right" xbl:inherits="selected"/>
  71.     </content>
  72.   </binding>
  73.   
  74.   <binding id="tabs" extends="chrome://global/content/bindings/tabbox.xml#tabs">
  75.     <content>
  76.       <xul:spacer class="tab-border-top-left-cap"/>
  77.       <xul:spacer class="tab-border-top-left"/>
  78.       <children/>
  79.       <xul:stack flex="1">
  80.         <xul:spacer class="tab-border-top-right"/>
  81.         <xul:hbox class="tabs-misc-dec" align="center">
  82.           <xul:spacer flex="1"/>
  83.         </xul:hbox>
  84.       </xul:stack>
  85.       <xul:spacer class="tab-border-top-right-cap"/>
  86.     </content>
  87.   </binding>
  88.   
  89.    
  90. </bindings>
  91.